module.exports = {
	homeCtl: function($scope, $ProductService, $http){
		$scope.title = "&lt;span style='color:red;'&gt;starter&lt;/span&gt;";
		//$scope.title = "<span style='color:red;'>starter</span>";
		$scope.productList = $ProductService.all();
		
	},
	otherCtl: function($scope){
		$scope.title = "other";		
	},
	userCtl: function($scope, $UserService){
		var getData = function(){
			$UserService.get(1).then(function(data){
				$scope.title = data[0].name;
			});	
		};

		var init = function(){
			getData();
		}();		
	}
};